var eosFormatTime = function(oldTimes) {
    var date = oldTimes.split(' ')[0];
    var arrTime = oldTimes.split(' ')[1].split(':');
    var time = arrTime.slice(1, arrTime.length).join(':');
    var h = parseInt(arrTime[0]) + 8;
    var newH = ((h < 24) ? h : (h % 24)).toString();
    if(newH.length==1){
       newH = "0"+newH;
    }
    return date + ' ' + newH + ':' + time;
}

function open(title,src){
    layer.open({
      type: 2,
      title: title,
      shadeClose: true,
      shade: 0.8,
      area: ['90%', '90%'],
      content: src //iframe的url
    });
}
